import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Game',
    component: () => import('./pages/GamePage.vue')
  },
  {
    path: '/simulation',
    name: 'Simulation',
    component: () => import('./pages/SimulationPage.vue')
  },
  {
    path: '/simulation-result/:id',
    name: 'SimulationResult',
    component: () => import('./pages/SimulationResultPage.vue'),
    props: true
  },
  {
    path: '/results',
    name: 'ResultsList',
    component: () => import('./pages/ResultsListPage.vue')
  },
  {
    path: '/statistics',
    name: 'Statistics',
    component: () => import('./pages/StatisticsPage.vue')
  },
  {
    path: '/bet-strategies',
    name: 'BetStrategies',
    component: () => import('./pages/BetStrategyTablesPage.vue')
  },
  {
    path: '/bet-strategy-tables',
    name: 'BetStrategyTables',
    component: () => import('./pages/BetStrategyTablesPage.vue')
  },
  {
    path: '/api-test',
    name: 'ApiTest',
    component: () => import('./pages/ApiTestPage.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 